#ifndef _DRIVER_VIEW_SCREEN_H
#define _DRIVER_VIEW_SCREEN_H

#include"color.h"

typedef struct view_screen
{
    uint32_t width;
    uint32_t height;
    uint32_t bit_per_pixel;

    int handle;

    uint8_t *vram;

    void (*out_pixel)(int, int, view_color_t);
} view_screen_t;

extern view_screen_t view_screen;

int ViewScreenInit();
int ViewScreenExit();


#endif